package sword_to_1;

public class LeeCode_58_2 {
    public static void main(String[] args) {

    }
    private static String reverseLeftWords(String s, int n) {
        int len = s.length();
        n = n % len;
        s = s.substring(n) + s.substring(0, n);
        return s;
    }
}
